package com.yanqu.road.server.timer.seacraftsouthsea;

import com.yanqu.road.server.manager.activity.peakseacraft.PeakSeacraftMgr;
import com.yanqu.road.server.manager.activity.seacraftsouthsea.SeacraftSouthSeaMgr;
import com.yanqu.road.utils.executor.GeneralTask;

/**
 * @Description 锁定 海上争霸 南海丝路 的晋级联盟
 * @Author cwq
 * @Data 2022/2/12 15:17
 */
public class SeacraftSouthSeaLockPromotionTask extends GeneralTask {

    @Override
    public void doRun() {
        try {
            SeacraftSouthSeaMgr.fixSeacraftPirateRiotUnionList();
//            SeacraftSouthSeaMgr.lockSeacraftPirateRiotPromotionUnion();
            SeacraftSouthSeaMgr.lockPromotionUnionTask();
            SeacraftSouthSeaMgr.synUnionInfoTask();
            SeacraftSouthSeaMgr.arrivalTask();


            PeakSeacraftMgr.lockPromotionUnionTask();
            PeakSeacraftMgr.synUnionInfoTask();
            PeakSeacraftMgr.arrivalTask();
            PeakSeacraftMgr.updateUnionRankMsgTask();
        }catch (Exception e){
            getLOGGER().error("SeacraftSouthSeaLockPromotionTask error:",e);
        }
    }
}
